<h1 class="page-header">轮播图信息</h1>
<form class="form-horizontal" name="form" role="form" ng-controller="topBannerFormCtrl">
    <div class="form-group">
        <div class="col-md-6">
            <label class="control-label col-md-2">名称</label>
            <div class="col-md-6">
                <input type="text" class="form-control" name="topBannerName" ng-model="topBanner.name"/>
            </div>
        </div>

        <div class="col-md-6">
            <label class="control-label col-md-2">类型</label>
            <div class="col-md-6">
                <select class="form-control" ng-model="topBanner.type">
                    <option value="0">web站点</option>
                    <option value="1">手机app</option>
                </select>
            </div>
        </div>
    </div>

    <div class="form-group">
        <div class="col-md-6">
            <label class="control-label col-md-2">跳转链接</label>
            <div class="col-md-6">
                <input type="text" class="form-control" name="topBannerUrl" ng-model="topBanner.url"/>
            </div>
        </div>
        <div class="col-md-6">
            <label class="control-label col-md-2">排序</label>
            <div class="col-md-6">
                <input type="text" class="form-control" name="topBannerUrl" ng-model="topBanner.displayOrder"/>
            </div>
        </div>
    </div>

    <div class="form-group">
        <div class="col-md-offset-5 col-md-12">
            <a class="btn btn-success" ng-click="save();" ng-disabled="form.$invalid">保存</a>
            <a class="btn btn-primary" ui-sref="index.topBannerMng">关闭</a>
        </div>
    </div>


    <div class="form-group">
        <div class="col-md-12" style="padding-left: 60px;">
            <p>跳转链接4种类型</p>
            <p>/activity/* 跳转至 会员活动 页面</p>
            <p>/search?category_id=4  跳转至 搜索产品列表 页面</p>
            <p>/p/* 跳转至 产品列表 页面</p>
            <p>web url  跳转至 网址 页面</p>
        </div>
    </div>

</form>